/** zeta-web-layui 布局 */

/** 过度动画 */
.layui-layout .layui-logo,
.layui-layout .layui-side,
.layui-layout .layui-body,
.layui-layout .layui-header {
  transition: all 0.3s;
}

/** 布局 */
.layui-layout {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/** 顶部 */
.layui-header {
  height: auto;
  background-color: whitesmoke;
  -webkit-user-select: none;
  user-select: none;
}
/** 顶部-nav */
.layui-header .the-nav {
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--layout-nav-height);
  background-color: #fff;
}
/** 顶部-nav项 */
.layui-header .the-nav .the-nav-item {
  margin-left: 16px;
}

/** 顶部-选项卡-样式一 */
.layui-header .the-tab {
  display: flex;
  position: relative;
  align-items: center;
  width: 100%;
  height: var(--layout-tab-height);
  border-bottom: 1px solid #eee;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
}
.layui-header .the-tab .layui-tab {
  flex-grow: 1;
  width: calc(100% - 40px);
}
.layui-header .the-tab .layui-tab .layui-tab-bar {
  border: none;
  border-left: 1px solid whitesmoke;
}
.layui-header .the-tab .layui-tab .layui-tab-bar.prev {
  border-left: none;
}
.layui-header .the-tab .layui-tab .dot {
  display: inline-block;
  background-color: whitesmoke;
  margin-right: 8px;
  border-radius: 50px;
  height: 8px;
  width: 8px;
}
.layui-header .the-tab .layui-tab .layui-this .dot {
  background-color: var(--global-primary-color);
}
.layui-header .the-tab .layui-tab .layui-tab-close:hover {
  background: transparent !important;
  color: #e2e2e2 !important;
}
.layui-header .the-tab .layui-tab .layui-tab-head .layui-tab-title li {
  border-right: 1px solid whitesmoke;
}
.layui-header .the-tab .layui-tab .layui-tab-content {
  padding: 0px;
}
.layui-header .the-tab .layui-tab .layui-tab-title {
  border-bottom-width: 0;
  border-bottom-style: none;
}
.layui-header .the-tab .layui-tab .layui-tab-title .layui-this:after {
  border: none;
}

/** 顶部-选项卡-样式二 */
.layui-header .underpainting .layui-tab .layui-tab-title {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}
.layui-header .underpainting .layui-tab .layui-tab-title .layui-this {
  color: var(--global-primary-color) !important;
  border-bottom: 2px solid var(--global-primary-color) !important;
  background-color: #009b8e0d !important;
}
.layui-header .underpainting .layui-tab .layui-tab-title .layui-this .layui-icon {
  color: var(--global-primary-color) !important;
}

/** 顶部-选项卡-样式三 */
.layui-header .designer {
  width: calc(100% - 15px);
  padding-left: 5px;
  box-shadow: unset;
  border-bottom: 0;
  background-color: whitesmoke;
}
.layui-header .designer .layui-tab-bar {
  height: 40px;
  line-height: 40px;
  margin-top: 5px;
}
.layui-header .designer .layui-tab-bar.prev {
  border-left: none;
  height: 40px;
  line-height: 40px;
  margin-top: 5px;
}
.layui-header .designer .designer-last-icon {
  margin: 5px 0 0 5px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  background: white;
  text-align: center;
  border-radius: 4px;
}
.layui-header .designer .layui-tab-title {
  border-bottom-width: 0;
  border-bottom-style: none;
  border: none;
}
.layui-header .designer .layui-tab-title > li {
  margin: 5px 0 0 5px;
  height: 35px;
  line-height: 35px;
  background-color: #fff;
  border-radius: 4px;
}

/** logo */
.layui-logo {
  height: var(--layout-nav-height);
  width: 100%;
  font-size: 20px;
  -webkit-user-select: none;
  user-select: none;
}
/** logo-组件 */
.layui-logo .the-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
/** logo-组件图标 */
.layui-logo .the-logo .logo {
  height: 40px;
  width: 40px;
}
/** logo-组件标题 */
.layui-logo .the-logo .logo-title {
  margin-left: 8px;
  font-size: 20px;
  font-weight: 700;
}

/** 内容区 */
.layui-body {
  overflow-x: hidden;
  background-color: whitesmoke;
}

/** 侧边栏 */
.layui-side {
  z-index: 1000;
  background-color: #28333e;
  box-shadow: 2px 0 8px 0 rgb(29 35 41 / 5%);
  -webkit-user-select: none;
  user-select: none;
}
/** 侧边栏-菜单 */
.layui-side .layui-nav {
  width: 100%;
  background-color: transparent;
}

/** 侧边栏-菜单图标(展开) */
.layui-side .layui-nav .nav-unfold-icon {
  font-size: var(--layout-side-icon-unfold-size)
}

.layui-side .layui-nav .nav-unfold-icon-svg {
  font-size: var(--layout-side-icon-unfold-size)
}

/** 侧边栏-菜单图标(收起) */
.layui-side .layui-nav .nav-fold-icon {
  display: flex;
  justify-content: center;
  font-size: var(--layout-side-icon-fold-size)
}

.layui-side .layui-nav .nav-fold-icon-svg {
  font-size: var(--layout-side-icon-fold-size)
}

/** 侧边栏收起时样式调整 */
.layui-side .layui-nav-collapse .layui-nav-item {
  display: flex;
}
.layui-side .layui-nav-collapse .layui-nav-item div {
  display: flex;
  align-items: center;
  justify-content: center;
}

/** 弃用，改为v-if控制 */
/* @media screen and (max-width: 767px) {
  .layui-side {
    position: absolute;
    height: 100vh;
    width: 0 !important;
  }
} */

/** 页脚 */
.layui-footer {
  width: 100%;
  height: auto;
}

/** 页脚-组件 */
.layui-footer .the-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--layout-footer-height);
  font-size: 14px;
  font-weight: 700;
}
